/*
 * @LastEditTime: 2020-04-22 18:06:49
 */
import request from '@/utils/request'

export function login(data) {
  return request({
    url: '/JLApi/admin/adminLogin',
    method: 'get',
    params: data
  })
}

export function getInfo(data) {
  return request({
    url: '/JLApi/user/getUserAccountList',
    method: 'post',
    data
  })
}

export function logout() {
  return request({
    url: '/user/logout',
    method: 'post'
  })
}
